/*-------------------------------------------------------------------------
 * CLR版本:     4.0.30319.42000
 * 创建人:      song
 * 创建时间：   2024/4/9 17:56:20
 * 功 能：      绘制辅助
 *-------------------------------------------------------------------------*/

#if UNITY_EDITOR
namespace SCore.Editor.SShaderDraw
{
    using UnityEngine;

    public class SShaderEditorHelpr
    {
        public static GUIStyle GetInternelStyle(string name)
        {
            foreach (GUIStyle style in GUI.skin.customStyles)
            {
                if (style.name.ToLower().Contains(name.ToLower()))
                {
                    return style;
                }
            }

            return new GUIStyle();
        }
    }
}
#endif